package com.xxx.entity;

import java.util.Date;

public class Comment {
    private int id;
    private String uName;
    private String contest;
    private String createDate;
    private int type;
    private String time;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getContest() {
        return contest;
    }

    public void setContest(String contest) {
        this.contest = contest;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Comment(String uName, String contest, String createDate) {
        this.uName = uName;
        this.contest = contest;
        this.createDate = createDate;
    }

    public Comment(String uName, String contest, String createDate, String time) {
        this.uName = uName;
        this.contest = contest;
        this.createDate = createDate;
        this.time = time;
    }

    public Comment(String uName, String contest, String createDate, int type, String time) {
        this.uName = uName;
        this.contest = contest;
        this.createDate = createDate;
        this.type = type;
        this.time = time;
    }
}
